#coding=gb2312

import pymssql


if __name__ == '__main__':
    con = pymssql.connect(host='192.168.55.44',user='sa',password='1234@qwer',database='TankManageWC')
    cursor = con.cursor()
    cursor.execute("select * from sys_resource")
    print cursor.fetchall()
    
    con.close()
    
    print 'end'